container_name='spring-boot-examples'

docker stop $(docker ps -a -q -f name=$container_name)
docker rm $(docker ps -a -q -f name=$container_name)